<!doctype html>
<html  xmlns:th="http://www.thymeleaf.org" >
<head>
<meta charset="utf-8">
<title>托福人分类页</title>
<link href="../c/base.css" rel="stylesheet" type="text/css">
<link href="../c/toefl.css" rel="stylesheet" type="text/css">
<link href="../c/bootstrap.min.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../j/lrtk.js"></script>
<style>
.nowPage {
	color: red;
}
</style>
</head>

<body>
<div class="doc1180 paddingT20 fn-clear">
	<!--页面左侧内容-->
    <div class="tfr_left">
    	<div class="tfr_classify"  th:each="t:${sess_toeflclass.list}">
        	<dl>
        		<a th:href="@{toToefl_detail(article_id=${t.article_id})}">
        			<dt><img  th:src="${t.img_url}" ></dt>
	                <dd>
	                	<div class="tfr_classifyh3">
	                		<h3 th:text="${t.title}"></h3>
	                		<div><a href="###" class="imgA"><img class="img" th:src="${t.teacher.img_url}"/> [[${t.teacher.user_name}]]</a></div>
	                	</div>
	                    <div class="tfr_classifyText" th:text="${#strings.abbreviate(t.article_detail,100)}" ></div>
	                    <div class="tfr_classifyTime">
	                    	<span>所属分类:</span><a href="###" th:text="${t.articleType.type_name}"></a>
	                    	<span>发布日期：</span><span>[[${#dates.format(t.last_modify,'yyyy-MM-dd')}]]</span>
	                    	<div class="commDiv">
	                    		<span class="glyphicon glyphicon-heart" style="color: #D92A11;"></span> <span>[[${t.collect_num}]]</span>
	                    		<span class="glyphicon glyphicon-user" style="color: #388BFF;"></span><span>[[${t.read_num}]]</span>
	                    	</div>
	                    	
	                    </div>

	                </dd>
        		</a>
            	
            </dl>
        </div>
        <div class="pageList">
			<ul th:if="${sess_toeflclass.pages != 0}">
				<li th:if="${sess_toeflclass.pageNum != 1}">
				<a th:href="@{toToefl_classification(pageNum=1)}">首页</a></li>
				<li th:each="pages:${sess_toeflclass.navigatepageNums}"><a th:href="@{toToefl_classification(pageNum=${pages})}"
					th:class="${pages == sess_toeflclass.pageNum} ? nowPage : ''">【[[${pages}]]】</a></li>
				<li th:if="${sess_toeflclass.pageNum != sess_toeflclass.pages}"><a th:href="@{toToefl_classification(pageNum=${sess_toeflclass.pages})}"
					th:onclick="searchpage([[${sess_toeflclass.pages}]])">最后一页</a></li>
				<li th:if="${sess_toeflclass.pageNum != 1}">
				<a th:href="@{toToefl_classification(pageNum=${sess_toeflclass.prePage})}" class="pret">上一页</a></li>
				<li th:if="${sess_toeflclass.pageNum != sess_toeflclass.pages}">
				<a th:href="@{toToefl_classification(pageNum=${sess_toeflclass.nextPage})}"class="next">下一页</a></li>
			</ul>
		</div>
    </div>
    <!--页面左侧内容 end-->
  <!--页面右侧内容-->
  
  <!--页面右侧内容 end-->
  
</div>

</body>
</html>
